package business.model;

import java.io.Serializable;

public class Order implements Serializable {
    public String id;
    public String userId ;
    public String commodityCode ;
    public int count ;
    public int money ;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getCommodityCode() {
        return commodityCode;
    }

    public void setCommodityCode(String commodityCode) {
        this.commodityCode = commodityCode;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(int money) {
        this.money = money;
    }

    public String toString() {
        return "[userId : " + userId +
                ", commodityCode : " + commodityCode +
                ", count : " + count +
                ", money : " + money + "]";
    }
}
